package com.company.cloud.web.utils;

public class WebUrlUtils {

    private static String Web_Url_Domain = "https://app.artshanghaifair.com/api";

    public static String Prd_Get_Url = "/shop-center/app/prd/product/get";

    public static String PrdCategory_Get_Url = "/shop-center/app/prd/category/tree";

    public static String Prd_Query_Url = "/shop-center/app/prd/product/query";

    public static String Prd_Recommend_Url = "/shop-center/app/prd/product/getPrdRecommendList";

    public static String Prd_SitMap_Url = "/shop-center/app/prd/product/sitmap";

    //
    public static String Artist_Get_Url = "/pty-center/app/art/artist/get";

    public static String Artist_Query_Url = "/pty-center/app/art/artist/query";

    public static String Artist_PY_Query_Url = "/pty-center/app/art/artist/list";

    //
    public static String Expo_Query = "/pty-center/app/art/expo/query";
    public static String Expo_Get = "/pty-center/app/art/expo/get";
    public static String Expo_Join_Query = "/pty-center/app/art/expo/queryJoin";
    public static String Expo_Join_QueryList = "/pty-center/app/art/expo/queryJoinList";


    //
    public static String Organ_Get_Url = "/user-center/app/user/company/info";

    public static String Organ_Query_Url = "/user-center/app/user/company/query";

    //
    public static String News_Get_Url = "/cms-center/app/cms/article/get";
    public static String News_Query_Url = "/cms-center/app/cms/article/query";
    public static String News_Category_Url = "/cms-center/app/cms/article/getTree";
    public static String Page_Static_Tree_Url = "/cms-center/app/cms/page/tree";
    public static String Page_Static_Info_Url = "/cms-center/app/cms/page/staticPage";
    public static String Expo_Join_Product_Url = "/pty-center/app/art/expo/queryJoinPrdList";
    public static String Expo_Join_Company_Url = "/pty-center/app/art/expo/queryJoinList";

    //
    public static String Tag2Type_Get_Url = "/basic-center/app/label/tag/getTagByTypes";


    //
    public static String Parameter_Get_Url = "/basic-center/app/base/parameter/get";


    public static String getUrl(String domain, String url) {
        return domain.concat(url);
    }

    public static String getUrl(String url) {
        return WebUrlUtils.getUrl(WebUrlUtils.Web_Url_Domain, url);
    }

    public static void main(String[] args) {
        System.out.println(WebUrlUtils.getUrl(WebUrlUtils.Prd_Get_Url));
    }


}
